<template class="container">
    <WindowTitleBar title="测试"></WindowTitleBar>
    <div style="width: 100px; height: 100px; overflow: auto;">
        <div style="width: 100px; height: 100px; background-color: #00ff00;"></div>
        <div style="width: 100px; height: 100px; background-color: #ff0000;"></div>
    </div>
</template>

<script type="text/lua">
RegisterComponent("WindowTitleBar", "%vue%/Components/WindowTitleBar.html");

</script>

<style>
    .container {
        height: 100%; 
        width: 100%; 
        padding: 0px 2px 2px 2px;
        background: url(Texture/Aries/Creator/keepwork/Window/dakuang_32bits.png#0 0 440 93:378 43 33 44);
    }
</style>